export const FORM_ITEMS = [
  {
    label: '商品分类',
    prop: 'categoryPath',
    type: 'slot',
    slotName: 'category',
  },
  {
    label: 'SPU编码',
    prop: 'spuNo',
    type: 'input',
  },
  {
    label: 'SKU编码',
    prop: 'skuNo',
    type: 'input',
  },
  {
    label: '商品名称',
    prop: 'productName',
    type: 'input'
  },
  {
    label: '区域',
    prop: 'areaCode',
    type: 'select',
    clearable: true,
    filterable: true,
    options: [] // 需要接口返回全量更新
  },
  {
    label: '省份',
    prop: 'provinceCode',
    type: 'select',
    clearable: true,
    filterable: true,
    options: [] // 需要接口返回全量更新
  },
  {
    label: '城市',
    prop: 'cityCode',
    type: 'select',
    clearable: true,
    filterable: true,
    options: [] // 需要接口返回全量更新
  },
]

export const TABLE_COLUMNS = [
  {
    title: '商品名称',
    key: 'productName'
  },
  {
    title: 'SPU编码',
    key: 'spuNo'
  },
  {
    title: 'SKU编码',
    key: 'skuNo'
  },
  {
    title: '商品分类',
    key: 'categoryPath'
  },
  {
    title: '区域',
    key: 'areaName'
  },
  {
    title: '省份',
    key: 'provinceName'
  },
  {
    title: '城市',
    key: 'cityName'
  },
  {
    title: '品牌',
    key: 'brandName'
  },
  {
    title: '系列',
    key: 'series'
  },
  {
    title: '规格',
    key: 'spec'
  },
  {
    title: '计量单位',
    key: 'unit'
  },
]
